home *** CD-ROM | disk | FTP | other *** search
- package com.ibm.uvm.awt;
-
- import com.ibm.uvm.messages.MsgUVM;
- import java.awt.Component;
- import java.awt.Graphics;
- import java.awt.image.ImageProducer;
- import sun.awt.image.Image;
- import sun.awt.image.ImageRepresentation;
-
- public class UvmImage extends Image {
- public UvmImage(Component c, int w, int h) {
- super(c, w, h);
- }
-
- public UvmImage(ImageProducer producer) {
- super(producer);
- }
-
- public Graphics getGraphics() {
- throw new IllegalAccessError(MsgUVM.getString("only_createimage"));
- }
-
- protected ImageRepresentation getImageRep() {
- return super.getImageRep();
- }
-
- protected ImageRepresentation makeImageRep() {
- return new ImageRepresentation(this, -1, -1, 0);
- }
- }
-